package com.longcai.bean;

import lombok.Data;

/**
 * @author Administrator
 * @Title: PageHelper 分页参数
 * @ProjectName clyj-electricity
 * @Description: TODO
 * @date 2019/3/611:13
 */
@Data
public class PageHelper {
    private Integer start;
    private Integer length;

    public Integer getStart() {
        if (start == 0) {
            return start;
        } else {
            return start / 10 + 1;
        }
    }
}
